
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="https://v3.bootcss.com/assets/css/ie10-viewport-bug-workaround.css">

    <title>Justified Nav Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <link href="https://v3.bootcss.com/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="https://v3.bootcss.com/examples/justified-nav/justified-nav.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
    <!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
    <script src="https://v3.bootcss.com/assets/js/ie-emulation-modes-warning.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
      {% for jsfile_name in script_list %}
    <script src="{{host}}/{{jsfile_name}}.js"></script>
    {% endfor %}
  </head>

  <body>
    <div class="container">

      <!-- The justified navigation menu is meant for single line per list item.
           Multiple lines will require custom code not provided by Bootstrap. -->
      <div class="masthead">
        <h3 class="text-muted">数据分析</h3>
        <nav>
          <ul class="nav nav-justified">
            <li class="active"><a href="#">首页</a></li>
            <li><a href="{% url 'index1' %}">数据集一</a></li>
            <li><a href="{% url 'douban:index' %}">数据集二</a></li>
            <li><a href="#">数据集三</a></li>
            <li><a href="#">数据集四</a></li>
            <li><a href="#">数据集五</a></li>
          </ul>
        </nav>
      </div>

      <!-- Jumbotron -->
      <div class="jumbotron">
        <h1>Chipotle</h1>
        <p class="lead"><h2>该数据集描述了一家餐厅一段时间内的定单情况，分析后的数据如下</h2></p>
          <div class="col-md-12 col-xs-12">
          <table class="table table-hover"><tr>

                <td>销售流水总额 <br> {{ liushui }}</td>


              <td>销售个数最多的商品 <br>{{ most }}</td>
              <td>销售金额最多的商品 <br>{{ mostmoney }}</td>

              <td>产品“Chicken Bowl”,选择最多的配料 <br> {{ chicken }}</td>
          </tr>
          </table>
          </div>
      </div>

      <!-- Example row of columns -->
      <div class="row">
        <div class="col-lg-4">

          <h3>生成每种商品销售个数的bar图</h3>
          <p><a class="btn btn-primary" href="{% url 'saleNum' %}" role="button">View details &raquo;</a></p>

        </div>
          <div class="col-lg-4">
          <h3>生成每种商品销售金额的bar图</h3>
          <p><a class="btn btn-primary" href="{% url "saleMoney" %}" role="">View details &raquo;</a></p>
        </div>
        <div class="col-lg-4">
          <h3>生成每个订单金额的line图</h3>

          <p><a class="btn btn-primary" href="{% url "orderSum" %}" role="button">View details &raquo;</a></p>
       </div>

      </div>
        <div class="row">
        <div class="col-lg-4">
          <h3>生成产品“Chicken Bowl”每种配料选择的次数，及所占比例的pie图</h3>

          <p><a class="btn btn-primary" href="{% url "pieChicken" %}" role="button">View details &raquo;</a></p>
        </div>
            <div class="col-lg-4">
          <h3>生成每种商品销售金额在流水总额中所占的比例的pie图</h3>
          <p><a class="btn btn-primary" href="{% url "pieTrade" %}" role="button">View details &raquo;</a></p>
        </div>
            <div class="col-lg-4">
          <h3>生成产品的种类及对应的商品配料的价格的表格</h3>
          <p><a class="btn btn-primary" href="{% url "table_choice" %}" role="button">View details &raquo;</a></p>
        </div>
        </div>
      <!-- Site footer -->
      <footer class="footer">
        <p>&copy; 2016 Company, Inc.</p>
      </footer>

    </div> <!-- /container -->

    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="https://v3.bootcss.com/assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>
